home *** CD-ROM | disk | FTP | other *** search
/ GameSpot.it / GameSpot Italia (2001).bin / demo / severancedemo / data1.cab / Program_Files / Scripts / Control.py < prev    next >
Encoding:
Text File  |  2000-10-13  |  2.1 KB  |  59 lines

  1.  
  2.  
  3. # File generated automatically
  4. # DO NOT EDIT: Changes will be lost
  5.  
  6.  
  7. ON_RELEASE=0
  8. ON_PRESS=1    # default
  9.  
  10.  
  11.  
  12. import BInput
  13. InputManager=BInput.GetInputManager()
  14. InputManager.SetInputActionsSet("Default")  # Me aseguro de definir las acciones en el grupo correcto
  15.  
  16.  
  17. Bladex.AssocKey("Forwards","Keyboard","Up")
  18. Bladex.AssocKey("FrwdUp","Keyboard","Up",ON_RELEASE)
  19. Bladex.AssocKey("FrwdDown","Keyboard","Up")
  20. Bladex.AssocKey("Backwards","Keyboard","Down")
  21. Bladex.AssocKey("BrwdUp","Keyboard","Down",ON_RELEASE)
  22. Bladex.AssocKey("BrwdDown","Keyboard","Down")
  23. Bladex.AssocKey("Turn Left","Keyboard","Left")
  24. Bladex.AssocKey("Turn Right","Keyboard","Right")
  25. Bladex.AssocKey("Look Up","Keyboard","O")
  26. Bladex.AssocKey("Look Down","Keyboard","L")
  27. Bladex.AssocKey("Jump","Keyboard","Slash")
  28. Bladex.AssocKey("Jump","Mouse","RightButton")
  29. Bladex.AssocKey("Attack","Keyboard","RCtrl")
  30. Bladex.AssocKey("Attack Release","Keyboard","RCtrl",ON_RELEASE)
  31. Bladex.AssocKey("Attack","Mouse","LeftButton")
  32. Bladex.AssocKey("Attack Release","Mouse","LeftButton",ON_RELEASE)
  33. Bladex.AssocKey("Block","Keyboard","RAlt")
  34. Bladex.AssocKey("Block Release","Keyboard","RAlt",ON_RELEASE)
  35. Bladex.AssocKey("Throw","Keyboard","Delete")
  36. Bladex.AssocKey("Throw Release","Keyboard","Delete",ON_RELEASE)
  37. Bladex.AssocKey("Sneak","Keyboard","RShift")
  38. Bladex.AssocKey("Use","Keyboard","Enter")
  39. Bladex.AssocKey("Toggle Weapons","Keyboard","End")
  40. Bladex.AssocKey("Cycle Weapons","Keyboard","Prior")
  41. Bladex.AssocKey("Cycle Shields","Keyboard","Insert")
  42. Bladex.AssocKey("Cycle Objects","Keyboard","Begin")
  43. Bladex.AssocKey("Select Enemy","Keyboard","Numpad0")
  44. Bladex.AssocKey("SelectObj","Keyboard","Next")
  45. Bladex.AssocKey("Screen Shot","Keyboard","F2")
  46. Bladex.AssocKey("Free Look","Keyboard","Space")
  47. Bladex.AssocKey("Next View","Keyboard","Add")
  48. Bladex.AssocKey("Last View","Keyboard","Subtract")
  49. Bladex.AssocKey("Show Scorer","Keyboard","Tab")
  50.  
  51. # Mouse stuff
  52. Bladex.AssocKey("RotateX","Mouse","X_Axis")
  53. Bladex.AssocKey("RotateY","Mouse","Y_Axis")
  54. Bladex.SetMouseState(0,1.000000,1.000000)
  55.  
  56. # Have a nice day.
  57.  
  58.  
  59.